using System;
using System.Collections.Generic;
using System.Text;

namespace k.Frame.Utility
{
    public abstract class MathExtensions
    {
        public static int Mod(int number, int mod)
        {
            double FullDivision = number / mod;
            double DivisionFloorByMod = Math.Floor(FullDivision);
            return (int)(number - (DivisionFloorByMod * mod));
        }
    }
}
